<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        const arr = [1, 2, 3, 4];
        let newArr = arr.slice(0);
        newArr.splice(0, 1);
        console.log(newArr);
    </script>
</head>
<body>

</body>
</html>